$(function() {
	// menu catalog
	$('#sti-menu').iconmenu({
		animMouseenter	: {
			'mText' : {speed : 400, easing : 'easeOutExpo', delay : 140, dir : -1},
			'sText' : {speed : 400, easing : 'easeOutExpo', delay : 280, dir : -1},
			'icon'  : {speed : 400, easing : 'easeOutExpo', delay : 0, dir : -1}
		},
		animMouseleave	: {
			'mText' : {speed : 400, easing : 'easeInExpo', delay : 140, dir : -1},
			'sText' : {speed : 400, easing : 'easeInExpo', delay : 0, dir : -1},
			'icon'  : {speed : 400, easing : 'easeInExpo', delay : 280, dir : -1}
		}
	});

	// quick menu
	$('#quick-menu').circleMenu({
		direction:'top-right',
		item_diameter: 40,
		circle_radius: 120,
		open: function(){

		},
		close: function(){

		},
		init: function(){

		}
	});

	$('#quick-menu li').hover(function(){
		$(this).children('.quick-menu-title').fadeIn();
	},function(){
		$(this).children('.quick-menu-title').fadeOut();
	});

	// main menu

	$('ul#main_menu').lavaLamp({
		autoResize: true,
		startItem : 0,
		autoResize: true
	});

	$("#pre-header-btn").toggle(function(){
		$(this).animate({top: "60px"});
		$("#pre-header-content").animate({top: "0px"});
		$("#btn-updown-pre-header").removeClass("icon-chevron-down").addClass("icon-chevron-up");
	},function(){
		$(this).animate({top: "0px"});
		$("#pre-header-content").animate({top: "-60px"});
		$("#btn-updown-pre-header").removeClass("icon-chevron-up").addClass("icon-chevron-down");
	});	


});

